/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.stateless;

import java.util.List;
import javax.ejb.Remote;
import persistence.entity.Accounttransaction;
import persistence.entity.Account;

/**
 *
 * @author Craig
 */
@Remote
public interface AccounttransactionFacadeRemote {

    void create(Accounttransaction accounttransaction);

    void edit(Accounttransaction accounttransaction);

    void remove(Accounttransaction accounttransaction);

    Accounttransaction find(Object id);

    List<Accounttransaction> findAll();

    List<Accounttransaction> findRange(int[] range);

    int count();

    Accounttransaction createTransaction(char transType, int transAmount, String transDesc, Account fromAccount, Account toAccount);
    
}
